package org.lc.solon.cmd.plugin.scan;

import org.lc.solon.cmd.ResultHandler;
import org.lc.solon.cmd.util.CmdOutUtil;
import org.noear.solon.annotation.Component;

/**
 * 最终的处理类
 */
@Component(index = Integer.MAX_VALUE)
public class LastResultHandler implements ResultHandler {
    @Override
    public Object handle(Object result, String line) {
        CmdOutUtil.write(result.toString(), false);
        return null;
    }
}
